<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
<title></title>

<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">

  <!-- Optional Bootstrap Theme -->
  <link href="data:text/css;charset=utf-8," data-href="bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" id="bs-theme-stylesheet">

<!-- Documentation extras -->
<link href="bootstrap/css/docs.min.css" rel="stylesheet">
<!--[if lt IE 9]><script src="../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="bootstrap/js/ie-emulation-modes-warning.js"></script>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<!-- Favicons -->
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="icon" href="/favicon.ico">
         <style type="text/css">
         	#add{
         		width: 50%;
         		height: 600px;
         		margin-left: auto;
         		margin-right: auto;
         	}         	
         </style>


<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
	//out.write(basePath);
%>
  </head>
     <body>
     	
     	<div id="add">
     		
     		<div class="page-header">
      	 <h1><span class="glyphicon glyphicon-leaf"></span>&nbsp;&nbsp;&nbsp;查&nbsp;询&nbsp;信&nbsp;息&nbsp;录&nbsp;入</h1>
     	</div>
      	 <form action="<%=basePath %>TeacherInfoModifySevelet" method="post">
      	 <input type="hidden" name="opt" value="2">
     	<div class="row">
      	 <div class="col-md-5" align="center"><font face="仿宋" size="4">输&nbsp;入&nbsp;用&nbsp;户&nbsp;名</font></div>
        	 <div class="col-md-7">
        	 <input type="mystyle" class="form-control" id="userName" name="userName" value="${requestScope.userScope.username }" placeholder="请输入用户名" onblur="checkName();">
      	 </div>
     	</div>

     	<hr />
     	<div class="row">
      	 <div class="col-md-5" align="center"><font face="仿宋" size="4">请&nbsp;输&nbsp;入&nbsp;年&nbsp;龄</font></div>
      	 <div class="col-md-3" >
      	 <select class="form-control" name="userAge" >
       	  <option></option>      	 
       	  <option>15</option>
       	  <option>16</option>
       	  <option>17</option>
       	  <option>18</option>
       	  <option>19</option>
      	 </select></div>
      	 <div class="col-md-1">--</div>
      	 <div class="col-md-3">
      	 <select class="form-control" name="userAge1">
      	  <option></option> 
       	  <option>15</option>
       	  <option>16</option>
       	  <option>17</option>
       	  <option>18</option>
       	  <option>19</option>
      	 </select></div>
     	</div>
     	<hr />
     	<div class="row">
      	 <div class="col-md-5" align="center"><font face="仿宋" size="4">请&nbsp;确&nbsp;定&nbsp;性&nbsp;别</font></div>
      	 <div class="col-md-7">
        <div class=" col-md-6">
          <label>
           	  <input type="radio" name="userSex" id="userSex" value="男">
          	   男
        	   </label>
                </div>
                <div class=" col-md-6">
         	  <label>
          	   <input type="radio" name="userSex" id="userSex" value="女">
           	  女
         	  </label>
       	  </div>
       	  </div>
      	 </div>
      	 <hr />
      	 <div class="row">
      	 <div class="col-md-5" align="center"><font face="仿宋" size="4">请&nbsp;输&nbsp;入&nbsp;电&nbsp;话</font></div>
      	 <div class="col-md-7">
        	 <input type="mystyle" class="form-control" id="userTel" name="userTel" value="${requestScope.userScope.usertel }" placeholder="请输入您的电话" >
      	 </div>
     	</div>
      	 <hr />
      	<div class="row">
      	 <div class="col-md-5" align="center"><font face="仿宋" size="4">请&nbsp;输&nbsp;入&nbsp;地&nbsp;址</font></div>
      	 <div class="col-md-7">
        	 <input type="mystyle" class="form-control" id="userAddress" name="userAddress" value="${requestScope.userScope.useradress }" placeholder="请输入您的地址" >
      	 </div>
     	</div>
      	 <hr />
      <div class="row">
        	 <div class="col-sm-offset-4 col-md-2" >
        	   <button type="submit" class="btn btn-default" >&nbsp;提&nbsp;&nbsp;&nbsp;交&nbsp;</button>
        	 </div>
        	 <div class="col-sm-offset-2 col-md-4">
        	   <button type="reset" class="btn btn-default" style="column-span: all;">&nbsp;重&nbsp;&nbsp;&nbsp;置&nbsp;</button>
        	 </div>
       	</div>
</form>      	 
     	</div>
     	


<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="bootstrap/js/jquery.min.js"></script>


  <script src="bootstrap/js/bootstrap.min.js"></script>



  <script src="bootstrap/js/docs.min.js"></script>




<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="bootstrap/js/ie10-viewport-bug-workaround.js"></script>


  </body>
</html>
